export const widgetLine = {
  code: 'widget-line',
  type: 'webConfDevice',
  tabName: '组态设备',
  label: '虚线一',
  iconImage:require('../../../image/line1.png'),
  icon: '',
  options: {
    // 配置
    setup: [
      {
        type: 'el-input-text',
        label: '图层名称',
        name: 'layerName',
        required: false,
        placeholder: '',
        value: '虚线一',
      },
      {
        type: 'el-slider',
        label: '透明度',
        name: 'transparency',
        required: false,
        placeholder: '',
        value: 100
      },
      {
        type: 'el-switch',
        label: '左右镜像',
        name: 'leftRightImage',
        required: false,
        placeholder: '',
        value: false,
      },
      // {
      //   type: 'el-switch',
      //   label: '上下镜像',
      //   name: 'topButtomImage',
      //   required: false,
      //   placeholder: '',
      //   value: false,
      // },
      {
        type: 'vue-color',
        label: '线颜色',
        name: 'lineColor',
        required: false,
        placeholder: '',
        value: '#ff0000'
      },
      {
        type: 'el-input-number',
        label: '线宽度',
        name: 'lineWidth',
        required: false,
        placeholder: '',
        value: 4,
      },
      {
        type: 'el-switch',
        label: '线流动',
        name: 'isLineFlow',
        required: false,
        placeholder: '',
        value: false,
      },
      {
        type: 'el-input-number',
        label: '流动速度',
        name: 'flowSpeed',
        required: false,
        placeholder: '',
        value: 6,
      },
    ],
  // 数据
  data: [
  ],
    // 坐标
    position: [
      {
        type: 'el-input-number',
        label: '左边距',
        name: 'left',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'el-input-number',
        label: '上边距',
        name: 'top',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'el-input-number',
        label: '宽度',
        name: 'width',
        required: false,
        placeholder: '该容器在1920px大屏中的宽度',
        value: 300,
      },
      {
        type: 'el-input-number',
        label: '高度',
        name: 'height',
        required: false,
        placeholder: '该容器在1080px大屏中的高度',
        value: 40,
      },
      {
        type: 'el-input-number',
        label: '旋转角度',
        name: 'rotate',
        required: false,
        placeholder: '',
        value: 0,
      },
    ],
  }
}